Filter json if returned to browser