JArrayHelper::fromObject

Utility function to map an object to an array