Fixed bug in last commit where strings and arrays were mixed up in POST and GET