json form submission

complex objects go better with json
request written to database

tool request now writes to the database