add `processEmptyArrays` method for JSON converters
fix #88