Add form to json serializer.
Remove alert.