Modified to support JSON String to Object Array