fixed 'Invalid Json' message with filtering POST