Added parsing of attributes into JSON array for batch entries