from_json form method