Parses empty arrays.
Thanks to @tonchis to this fix.