Remove empty arrays and values in toJSON!