Filter fields in JSON export sample + Bug fixes.