added arrays support into json parser