Merge pull request #265 from krzysiekbarca/devel

fix compilation errors
reorder
Fixed enum serialization during post request
review fix
Merge pull request #266 from spawluk-bitbar/devel

Fixed enum serialization during post request
fix for null data in APIList