Update README
Remove JSON config in favour of plain object
Switch argument order to be consistent with other libs