changed parser to returna error hash if parameters passed are not according with tiny api
updated version