changed print_r to var_export in REST Fixes #1210
updated changelog