refactored client and backend in order to serialize the entire step information upon submission.