pull all fields and return json of options

everything still has to eventually be done in pdo