Parser for insert params to query